package br.com.leilao.util;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

public class ConectaBanco {
	public static Connection getConnection() throws  ClassNotFoundException, SQLException{
	  final String url = "jdbc:mysql://127.0.0.1:3306/dbleilao";
	  Connection con = 	DriverManager.getConnection(url, "root", "12345");
	  return con;
	}
}
